package service;

import bean.StudentInfo;

import java.util.List;

public interface IStudentInfoService {


    /**
     * 查询用户信息
     * @return
     * @throws Exception
     */
    public List<StudentInfo> queryStudentInfo() throws Exception;

    /**
     * 插入用户信息
     * @param studentInfo
     * @return
     * @throws Exception
     */
    public boolean insertStudentInfo(StudentInfo studentInfo) throws  Exception;

    public boolean updateStudentInfo(StudentInfo studentInfo) throws  Exception;

    public boolean deleteStudentInfo(int id) throws Exception;

}
